package com.markedquilt.homepage.dao;

import com.markedquilt.homepage.entity.HomePageUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author ZhangKe
 * @Description
 * @date 2020/12/27 18:45.
 */
public interface HomePageUserDao extends JpaRepository<HomePageUser,Long> {

    /**
     * 通过用户名寻找数据记录
     * @param userName
     * @return
     */
    HomePageUser findByUserName(String userName);
}
